import request from '@/utils/request'// 查询公告列表

export function getReimburseList(data) {
  return request({
    url: '/reimburse/list',
    method: 'post',
    data: data
  })
}
  // 添加
  export function addReimburse(data) {
    return request({
      url: '/reimburse/add',
      method: 'post',
      data: data
    })
  }
  // 修改
export function updateReimburse(data) {
    return request({
      url: '/reimburse/edit',
      method: 'post',
      data: data
    })
  }
// 详情
export function ReimburseInfo(data) {
    return request({
      url: '/reimburse/info',
      method: 'post',
      data: data
    })
}

  // 删除
export function delReimburse(data) {
    return request({
      url: '/reimburse/remove',
      method: 'post',
      data: data
    })
  }
// 地区下拉
export function getAreas(data) {
  return request({
    url: "/areas/search",
    method: "post",
    data: data,
  });
}
export function getUserId(query) {
  return request({
    url: "/system/user/list/role",
    method: "get",
    params: query,
  });
}
export function shez1(data) {
  return request({
    url: "/reimburse/audit/1",
    method: "post",
    data: data,
  });
}
export function shez2(data) {
  return request({
    url: "/reimburse/audit/2",
    method: "post",
    data: data,
  });
}